#!/bin/sh

### BEGIN INIT INFO
#
### END INIT INFO

SCRIPTNAME=/etc/init.d/demo-admin

case "$1" in
  start)
    log_action_begin_msg "Setting up etiger-internal-job"
    /home/demo/demo-admin/server.sh start > /dev/null
    log_action_end_msg "$?"
    ;;
  stop)
    /home/demo/demo-admin/server.sh stop > /dev/null
    ;;
  restart)
    /home/demo/demo-admin/server.sh restart > /dev/null
    ;;
  force-reload|status)
    ;;
  *)
    echo "Usage: $SCRIPTNAME start" >&2
    exit 3
    ;;
esac
